from openai import OpenAI

client = OpenAI(api_key="sk-a7784ffd3bc0455185054ae23a221e03", base_url="https://api.deepseek.com")

response = client.chat.completions.create(
    model="deepseek-chat",
    messages=[
        {"role": "system", "content": "You are a helpful assistant"},
        {"role": "user", "content": "我需要生成一段python代码，输出函数的不定积分表达式"},
    ],
    stream=False
)

print(response.choices[0].message.content)